package com.situ.onlinebookstore.common.mapper;

import com.situ.onlinebookstore.common.entity.OrderDetail;

import java.util.List;

public interface OrderDetailMapper {
    //增
    int insert(OrderDetail orderDetail);

    //删
    int delete(Integer id);

    //改
    int update(OrderDetail orderDetail);

    //根据订单号查询
    List<OrderDetail> selectByOrderId(String orderId);
}
